import { Commit } from "vuex";
interface IMother {
  namespaced: boolean;
  state: {
    list: any[];
    cate: any[];
  };
  actions: {
    getMotherList: ({ commit }: { commit: Commit }) => void;
    getMotherCate: (
      { commit }: { commit: Commit },
      { categoryId }: { categoryId: number }
    ) => void;
  };
  mutations: {
    GETMOTHER: (state: any, action: { payload: any }) => void;
    GETMotherCate: (state: any, action: { payload: any }) => void;
  };
}
export { IMother };
